#pragma once
#include "afxwin.h"


// CDlgRequestNA dialog

class CDlgRequestNA : public CDialog
{
	DECLARE_DYNAMIC(CDlgRequestNA)

public:
	CDlgRequestNA(CWnd* pParent = NULL);   // standard constructor
	virtual ~CDlgRequestNA();

	virtual BOOL OnInitDialog();
	virtual void OnOK();
	virtual void OnCancel();

// Dialog Data
	enum { IDD = IDD_DIALOG_REQUEST_NA };

protected:
	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
	afx_msg void OnBnClickedButtonIll();
	afx_msg void OnLbnSelchangeListPick();

	DECLARE_MESSAGE_MAP()

public:
	LONG m_nStaffID;
	LONG m_nItemID;
	LONG m_nUserID;
	LONG m_nLibraryID;
	INT m_nStatus;

	CListBox m_ctrlReason;
	BOOL m_bEmailUser;

	CString m_szTo;
	CString m_szDateIn;
	CString m_szMessage;
	CString m_szReason;

	INT m_nReason;
	CString m_szRequest;
	CString m_szFrom;
	CString m_szName;
	CString m_szSubject;
	CString m_szUID;

	INT m_nILL;
	CString m_szILL;

	double m_dServiceFee;
	double m_dCopyrightFee;
	double m_dMiscFee;

	CString m_szPMID;
	CString m_szOCLC;
	CString m_szNLMID;
	CString m_szInfo;

	CString GetIDString(void);
	void UpdateButtons(void);

	CArray<INT> m_aStatusID;
	CArray<STATUS_LOOKUP> m_aStatus;

	CString m_szUserNotes;
};
